// src/utils/mockData.ts
import type { Station } from '@/types/station'

// 旧的模拟数据（兼容性保留，但不再使用）
export const mockStations: Station[] = [
  {
    stationId: "1",
    stationName: "合肥大学充电站",
    address: "合肥大学校内",
    brandName: "特来电",
    distance: 0,
    lat: 31.86,
    lng: 117.27,
    electricityPrice: 1.2,
    servicePrice: 0.3,
    totalCostPrice: 1.5,
    openTime: "00:00-24:00",
    parkFee: "免费停车",
    operatorId: "test-operator-1",
    stationTel: "0551-12345678",
    quickAvailableNum: 5,
    quickChargeNum: 10,
    slowAvailableNum: 3,
    slowChargeNum: 5,
    openStatus: 1,
    stationStatus: 50,
    brandType: 1,
    stationCategory: [1, 2],
    stationGradeScore: 4.5,
    stationLevel: 1
  },
  {
    stationId: "2",
    stationName: "政务区充电中心",
    address: "政务区潜山路",
    brandName: "国家电网",
    distance: 1200,
    lat: 31.855,
    lng: 117.275,
    electricityPrice: 1.5,
    servicePrice: 0.4,
    totalCostPrice: 1.9,
    openTime: "06:00-23:00",
    parkFee: "前2小时免费",
    operatorId: "test-operator-2",
    stationTel: "0551-87654321",
    quickAvailableNum: 2,
    quickChargeNum: 8,
    slowAvailableNum: 1,
    slowChargeNum: 4,
    openStatus: 1,
    stationStatus: 50,
    brandType: 2,
    stationCategory: [1],
    stationGradeScore: 4.2,
    stationLevel: 2
  }
]

// 新的模拟数据（使用后端提供的格式）
export const mockStationsNew: Station[] = [
  {
    stationId: "28-093",
    stationName: "百伦广场犀浦店停车场",
    address: "犀浦镇国宁东路69号百伦广场犀浦店地下停车场258",
    brandName: "依威",
    distance: 1859.03,
    lat: 30.756089,
    lng: 103.975038,
    electricityPrice: 1.20,
    servicePrice: 0.80,
    totalCostPrice: 2.00,
    openTime: "00:00-24:00",
    parkFee: "全天开放",
    operatorId: "320513112",
    stationTel: "13811111111",
    quickAvailableNum: 0,
    quickChargeNum: 0,
    slowAvailableNum: 10,
    slowChargeNum: 10,
    openStatus: 1,
    stationStatus: 50,
    brandType: 1,
    parkCost: 2,
    stationCategory: [64],
    stationGradeScore: 0.0,
    stationLevel: 0
  },
  {
    stationId: "28-231",
    stationName: "天府创业园",
    address: "百草路1067号天府创意产业园地面停车场",
    brandName: "依威",
    distance: 2464.3,
    lat: 30.751367,
    lng: 103.953172,
    electricityPrice: 1.20,
    servicePrice: 0.80,
    totalCostPrice: 2.00,
    openTime: "00:00-24:00",
    parkFee: "全天开放",
    operatorId: "320513112",
    stationTel: "13811111111",
    quickAvailableNum: 0,
    quickChargeNum: 0,
    slowAvailableNum: 6,
    slowChargeNum: 6,
    openStatus: 1,
    stationStatus: 50,
    brandType: 1,
    parkCost: 2,
    stationCategory: [],
    stationGradeScore: 0.0,
    stationLevel: 1
  }
]

// 兼容性导出
export default mockStations